package com.lg.cms.vo.news;

import com.lg.cms.entity.Category;
import lombok.Data;

import java.util.List;

/**
 * @Description: 栏目分类VO展示
 * @Author: wuyuhang
 * @create: 2020-10-10 14:59
 */
@Data
public class CategoryVO {
    /**
     * id
     */
    private Integer categoryId;
    /**
     * 栏目名称
     */
    private String name;
    /**
     * 栏目访问路径
     */
    private String url;

    /**
     * 子对象
     */
    private List<CategoryVO> children;
    /**
     * 栏目原对象
     */
    private Category category;

    /**
     * 父别名
     */
    private String parentAlias;
}